package javabook.ch04;

public class Jv_4_3_twoifelse {

	/**
	 * @param args
	 * 중첩된 if / else 문 
	 */
	public static void main(String[] args) {
		int x=10, y=4; 
		int ken; 
		
			System.out.println("***** result *****"); 
			ken = x & y; 
	
		if (ken>0) 
			System.out.println("(x&y) is + "); 
		
		else 
			if (ken<0) 
				System.out.println("(x&y) is -"); 
			else 
				System.out.println("(x&y) is 0"); 
	}

}
